﻿<%@ Page Language="C#" MasterPageFile="~/GUIMaster.Master" AutoEventWireup="true" CodeBehind="registration.aspx.cs"
    Inherits="GUI.WebFormRegistration" meta:resourcekey="Page" culture="auto" uiculture="auto" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentHomePage" runat="server">
    <div id="content_registration">
        <asp:UpdatePanel ID="UpdatePanelRegistration" runat="server" >
            <ContentTemplate>
           
                    
                    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server"               
                        onactivestepchanged="CreateUserWizard1_ActiveStepChanged"
                        UserNameLabelText="TripLOA User Name:" 
                        ContinueDestinationPageUrl="~/secure/Home.aspx"  
                        InvalidPasswordErrorMessage="Password length minimum: {0}."
                        EmailRegularExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" 
                        meta:resourcekey="CreateUserWizard1Resource1" 
                        EmailRegularExpressionErrorMessage="Please enter a different e-mail. Wrong format.">
                        <CompleteSuccessTextStyle CssClass="button_generics" />
                        <ContinueButtonStyle CssClass="button_generics" />
                        <TextBoxStyle CssClass="txtBox_generics " />
                        <CreateUserButtonStyle CssClass="button_generics" />
                        <TitleTextStyle CssClass="Title" />
                        <CancelButtonStyle CssClass="button_generics" />
                       <WizardSteps>
                            <asp:CreateUserWizardStep ID="CreateUserWizardStep1" runat="server" 
                                Title="Sign Up for Your New TripLOA Account !" 
                                meta:resourcekey="CreateUserWizardStep1Resource1">
                                <CustomNavigationTemplate>
                                    <table border="0" cellspacing="5" style="width:100%;height:100%;">
                                        <tr align="right">
                                            <td align="right" colspan="0">
                                                <asp:Button ID="StepNextButton" runat="server" CommandName="MoveNext" 
                                                    CssClass="button_generics" Text="Create User" meta:resourcekey="StepNextButtonResource" 
                                                    ValidationGroup="CreateUserWizard1" OnPreRender="CreateUserButtonRender" />
                                            </td>
                                        </tr>
                                    </table>
                                </CustomNavigationTemplate>
                            </asp:CreateUserWizardStep>
                            <asp:CompleteWizardStep ID="CompleteWizardStep1" runat="server" 
                                meta:resourcekey="CompleteWizardStep1Resource1">
                            </asp:CompleteWizardStep>
                        </WizardSteps>
                    </asp:CreateUserWizard>                        
            </ContentTemplate>

        </asp:UpdatePanel>
                   
            
    </div>
    </asp:Content>
